package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 钉钉,最新,部门,记录
 * </p>
 *
 * @author wjk
 * @since 2022-05-30
 */
@TableName("bty_dingding_day_dept")
public class BtyDingdingDayDept implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 部门表主键
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 考勤月份
     */
    @TableField("attend_year_month")
    private String attendYearMonth;

    /**
     * 部门id;部门id
     */
    @TableField("did")
    private Long did;

    /**
     * 部门名称;部门名称
     */
    @TableField("name")
    private String name;

    /**
     * 父级部门id;部门的父级部门id
     */
    @TableField("pid")
    private Long pid;

    /**
     * 部门人员数量;部门人数
     */
    @TableField("num")
    private Integer num;

    /**
     * 创建时间;创建时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人;创建人id
     */
      @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 更新时间;修改时间
     */
      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 更新人;修改人id
     */
      @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAttendYearMonth() {
        return attendYearMonth;
    }

    public void setAttendYearMonth(String attendYearMonth) {
        this.attendYearMonth = attendYearMonth;
    }

    public Long getDid() {
        return did;
    }

    public void setDid(Long did) {
        this.did = did;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "BtyDingdingDayDept{" +
        "id=" + id +
        ", attendYearMonth=" + attendYearMonth +
        ", did=" + did +
        ", name=" + name +
        ", pid=" + pid +
        ", num=" + num +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        "}";
    }
}
